Understanding NEVA Events

Event

MODE

Return Value / Parameter

Description

NEVA Shown

Simple & Advanced

---

This event is raised when NEVA is shown.

NEVA Minimized

Simple & Advanced

--- This event is raised when NEVA is minimized.

NEVA Conversation Complete

Simple

See below

If you are working in simple mode, this event is raised when the conversation is completed or fails. The only two states that appear for this event are Failed or Fulfilled.

NEVA User Input

Advanced

Text

This event is raised when there is input from the NEVA User.

NEVA Response Received

Advanced

See below. If you are working in advanced mode, this event is received after every step in the conversation.

The NEVA Response Received from Amazon Lex and NEVA Conversation Complete events include the following:

State: The state of the conversation.

ConfirmIntent:  Amazon Lex is expecting a "yes" or "no" response. This the state that precedes the Fulfilled or Failed state.

ElicitIntent: Amazon Lex wants to elicit the user's intent. If Amazon Lex cannot infer the user intent from an utterance, it returns this state.

ElicitSlot: The Amazon Lex value of a slot for the current intent.

Failed: Conveys that the conversation with the user failed.

Fulfilled: Amazon Lex has successfully established the intent.

ReadyForFulfillment: Conveys that the client has to fulfill the request.

The Failed or Fulfilled appear as the last state in a conversation.

Intent: The current user intent that Amazon Lex is aware of.

Message: The message to convey to the user. Amazon Lex selects an appropriate message from the bot's configuration based on the current interaction context. For example, if Amazon Lex isn't able to understand user input, it uses a clarification prompt message.

Attributes (List of NEVA Name Value Pair): An array with the map of key-value pairs representing the session-specific context information.

Current Slot: The current slot. Returns the name of the slot for which Amazon Lex is eliciting a value.

Slots (List of NEVA Name Value Pair): An array of the slots. These are the intent slots that Amazon Lex detected from the user input in the conversation.

IsError: True if an error has occured.

Error Message: The Amazon Lex or NEVA error message in the event of an error.